package com.tx.admin.modules.content.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import com.tx.admin.core.entity.CardEntity;
import com.tx.admin.modules.rbac.entity.UserEntity;

import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * 文章
 * @author ldl
 *
 */
@Entity
@Data
@ApiModel("评论")
public class CommentEntity extends CardEntity{

	private String articleId;
	
	@ManyToOne
	private UserEntity user;
	
	
}
